
% please see read.me for details

\documentclass{book}

\usepackage{morgan}
\usepackage{morchap}
\usepackage{morbeta}
\usepackage[raggedsec]{morplay}
\usepackage[authoryear]{natbib}             % use natbib for Author-Year bibliography
\usepackage[draft]{ttdefs}
\usepackage{qtree,cgloss4e}
\usepackage{gb4e}                                 %conflicts with dep trees
\usepackage{url}
\usepackage{dsfont}
\usepackage{algorithm}
%\usepackage{tikz-dependency}


%\usepackage{tikz}
%\usepackage{calc} 
%\usetikzlibrary{spy}

%\usepackage{tikz}
%\usetikzlibrary{spy}

%\newtheorem{mydef}{Definition}
%\newtheorem{mythm}{Theorem}

\newcommand{\ma}{\ensuremath{\mathcal{\mathcal{M}}}}
\newcommand{\data}{\ensuremath{\mathcal{\mathcal{D}}}}
\newcommand{\ffn}{\ensuremath{\mathcal{\text{\bf g}}}}
\newcommand{\wv}{\ensuremath{\mathcal{\text{\bf w}}}}
\newcommand{\lex}{\ensuremath{\mathcal{LEX}}}
\newcommand{\prob}{\ensuremath{P}}

\newcommand{\mcn}{\ensuremath{\mathcal{N}}}
\newcommand{\mct}{\ensuremath{\mathcal{T}}}
\newcommand{\mcr}{\ensuremath{\mathcal{R}}}

\newcommand{\mcva}{\ensuremath{\mathcal{V}_a}}
\newcommand{\mcv}{\ensuremath{\mathcal{V}}}
\newcommand{\mca}{\ensuremath{\mathcal{A}}}
\newcommand{\mcc}{\ensuremath{\mathcal{C}}}
\newcommand{\mco}{\ensuremath{\mathcal{O}}}
\newcommand{\mcs}{\ensuremath{\mathcal{S}}}
\newcommand{\mctok}{\ensuremath{\mathcal{T}}}
\newcommand{\mcl}{\ensuremath{\mathcal{L}}}
\newcommand{\mcb}{\ensuremath{\mathcal{B}}}
\newcommand{\mcx}{\ensuremath{\mathcal{X}}}
\newcommand{\mcy}{\ensuremath{\mathcal{Y}}}
\newcommand{\mcyx}{\ensuremath{\mathcal{Y}_x}}
\newcommand{\argmax}{\ensuremath{\text{argmax}}}
\newcommand{\argmin}{\ensuremath{\text{argmin}}}

\newcommand{\buff}{\ensuremath{\beta}}
\newcommand{\stack}{\ensuremath{\sigma}}
\newcommand{\expo}{\ensuremath{\text{exp}}}

\newcommand{\sbj}{\text{\em sbj}}
\newcommand{\prd}{\text{\em prd}}
\newcommand{\obj}{\text{\em obj}}
\newcommand{\com}{\text{\em com}}
%\newcommand{\mod}{\text{\em mod}}

\setcounter{secnumdepth}{2}

%\makeindex                     % produce the index in book.idx

\begin{document}
 
  \frontmatter
     \input{fm-pmrl}                % sample front matter
  %\input{preface}
 
 \input{notation}
 \input{abbrev}


\mainmatter                     % sample chapters
 %   \input{ch01}
%    \input{ch02}
  %  \input{ch03}
  %  \input{biblio}              % bibliography

  \input{ch01-intro-pmrl}
 % \input{ch01-morphology}
 \input{ch02-const-parsing}
  \input{ch03-dep-parsing}
%  \input{ch04-rr-parsing}
   \input{ch05-eval}

%\appendix
%\input{learning}
\bibliographystyle{plain}
\bibliography{mrlbib} 

%  
 \backmatter                    % back matter
   \input{bio-pmrl}                 % author(s)'s short bio(s)
%   \input{book.ind}            % if the author has Index

\end{document}
